/****************************************************************************
** Meta object code from reading C++ file 'GraphProvider.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../src/UI/GraphProvider.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'GraphProvider.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_UI__GraphProvider_t {
    QByteArrayData data[26];
    char stringdata0[325];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UI__GraphProvider_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UI__GraphProvider_t qt_meta_stringdata_UI__GraphProvider = {
    {
QT_MOC_LITERAL(0, 0, 17), // "UI::GraphProvider"
QT_MOC_LITERAL(1, 18, 11), // "dataUpdated"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 22), // "displayedPointsUpdated"
QT_MOC_LITERAL(4, 54, 18), // "setDisplayedPoints"
QT_MOC_LITERAL(5, 73, 6), // "points"
QT_MOC_LITERAL(6, 80, 11), // "updateGraph"
QT_MOC_LITERAL(7, 92, 16), // "QAbstractSeries*"
QT_MOC_LITERAL(8, 109, 6), // "series"
QT_MOC_LITERAL(9, 116, 5), // "index"
QT_MOC_LITERAL(10, 122, 9), // "resetData"
QT_MOC_LITERAL(11, 132, 10), // "drawGraphs"
QT_MOC_LITERAL(12, 143, 14), // "csvPlayerFixes"
QT_MOC_LITERAL(13, 158, 13), // "registerFrame"
QT_MOC_LITERAL(14, 172, 10), // "JFI_Object"
QT_MOC_LITERAL(15, 183, 9), // "frameInfo"
QT_MOC_LITERAL(16, 193, 8), // "getValue"
QT_MOC_LITERAL(17, 202, 10), // "graphRange"
QT_MOC_LITERAL(18, 213, 12), // "minimumValue"
QT_MOC_LITERAL(19, 226, 12), // "maximumValue"
QT_MOC_LITERAL(20, 239, 10), // "getDataset"
QT_MOC_LITERAL(21, 250, 14), // "JSON::Dataset*"
QT_MOC_LITERAL(22, 265, 10), // "graphCount"
QT_MOC_LITERAL(23, 276, 8), // "datasets"
QT_MOC_LITERAL(24, 285, 23), // "QVector<JSON::Dataset*>"
QT_MOC_LITERAL(25, 309, 15) // "displayedPoints"

    },
    "UI::GraphProvider\0dataUpdated\0\0"
    "displayedPointsUpdated\0setDisplayedPoints\0"
    "points\0updateGraph\0QAbstractSeries*\0"
    "series\0index\0resetData\0drawGraphs\0"
    "csvPlayerFixes\0registerFrame\0JFI_Object\0"
    "frameInfo\0getValue\0graphRange\0"
    "minimumValue\0maximumValue\0getDataset\0"
    "JSON::Dataset*\0graphCount\0datasets\0"
    "QVector<JSON::Dataset*>\0displayedPoints"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UI__GraphProvider[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       3,  110, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    0,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   81,    2, 0x0a /* Public */,
       6,    2,   84,    2, 0x0a /* Public */,
      10,    0,   89,    2, 0x08 /* Private */,
      11,    0,   90,    2, 0x08 /* Private */,
      12,    0,   91,    2, 0x08 /* Private */,
      13,    1,   92,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      16,    1,   95,    2, 0x02 /* Public */,
      17,    1,   98,    2, 0x02 /* Public */,
      18,    1,  101,    2, 0x02 /* Public */,
      19,    1,  104,    2, 0x02 /* Public */,
      20,    1,  107,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, 0x80000000 | 7, QMetaType::Int,    8,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 14,   15,

 // methods: parameters
    QMetaType::Double, QMetaType::Int,    9,
    QMetaType::QPointF, QMetaType::Int,    9,
    QMetaType::Double, QMetaType::Int,    9,
    QMetaType::Double, QMetaType::Int,    9,
    0x80000000 | 21, QMetaType::Int,    9,

 // properties: name, type, flags
      22, QMetaType::Int, 0x00495001,
      23, 0x80000000 | 24, 0x00495009,
      25, QMetaType::Int, 0x00495103,

 // properties: notify_signal_id
       0,
       0,
       1,

       0        // eod
};

void UI::GraphProvider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GraphProvider *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->dataUpdated(); break;
        case 1: _t->displayedPointsUpdated(); break;
        case 2: _t->setDisplayedPoints((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 3: _t->updateGraph((*reinterpret_cast< QAbstractSeries*(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 4: _t->resetData(); break;
        case 5: _t->drawGraphs(); break;
        case 6: _t->csvPlayerFixes(); break;
        case 7: _t->registerFrame((*reinterpret_cast< const JFI_Object(*)>(_a[1]))); break;
        case 8: { double _r = _t->getValue((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 9: { QPointF _r = _t->graphRange((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = std::move(_r); }  break;
        case 10: { double _r = _t->minimumValue((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 11: { double _r = _t->maximumValue((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 12: { JSON::Dataset* _r = _t->getDataset((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< JSON::Dataset**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractSeries* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< JFI_Object >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GraphProvider::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GraphProvider::dataUpdated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (GraphProvider::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GraphProvider::displayedPointsUpdated)) {
                *result = 1;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<JSON::Dataset*> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<GraphProvider *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->graphCount(); break;
        case 1: *reinterpret_cast< QVector<JSON::Dataset*>*>(_v) = _t->datasets(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->displayedPoints(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<GraphProvider *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setDisplayedPoints(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject UI::GraphProvider::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_UI__GraphProvider.data,
    qt_meta_data_UI__GraphProvider,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *UI::GraphProvider::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *UI::GraphProvider::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_UI__GraphProvider.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int UI::GraphProvider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void UI::GraphProvider::dataUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void UI::GraphProvider::displayedPointsUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
